#!/usr/bin/node
const log = console.log;

log(`PID:${process.pid}`);

process.stdin.resume();

process.on('SIGINT', ()=>{
  log('You have pressed Ctrl+c. Bye!');
  process.exit();
});

process.on('SIGTSTP',()=>{
  log('You have press Ctrl+z');
});

